<?php
/**
 * @desc 公用广告位
 * @author kevin.wang
 * @date 2015-01-01 12:00:00
 */
class banner extends CWidget
{
	//联系我们 5
	//定制页面 3
	public $bannerId = 0;
    public function init()
    {
    }
 
    public function run()
    {
		$adver = new Adver();
		$adverList = $adver->getAdver($this->bannerId);
        $this->render('banner', array("adverList" => $adverList));
    }
}